home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / www / src / midaswww-1.0 / SGMLPlainText.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-16  |  1.3 KB  |  46 lines

  1. /*==================================================================*/
  2. /*                                                                  */
  3. /* SGMLPlainTextObject                                              */
  4. /*                                                                  */
  5. /* T.Johnson - (TonyJ@Slacvx.Slac.Stanford.Edu)           June.92   */
  6. /*                                                                  */
  7. /* Defines aplain  text segment for the SGMLText widget             */
  8. /*                                                                  */
  9. /*==================================================================*/
  10.  
  11. #ifndef  SGMLPLAINTEXT_H
  12. #define  SGMLPLAINTEXT_H
  13. #include "SGMLText.h"
  14.  
  15. extern WidgetClass sGMLPlainTextObjectClass;
  16. typedef struct _SGMLPlainTextRec  *SGMLPlainTextObject;
  17.  
  18. #define SGMLNtabs            "tabs"
  19. #define SGMLCTabs            "Tabs"
  20.  
  21. #ifdef _NO_PROTO
  22.  
  23. extern Widget  CreateSGMLPlainText();
  24.  
  25. #else
  26.  
  27. #if defined(__cplusplus) || defined(c_plusplus)
  28. extern "C" {
  29. #endif
  30.  
  31.     extern Widget SGMLCreatePlainText(Widget parent,
  32.         char *name,
  33.         ArgList al,
  34.         int ac);
  35.  
  36. #if defined(__cplusplus) || defined(c_plusplus)
  37. }
  38. #endif
  39.  
  40. #endif /* _NO_PROTO */
  41.  
  42. #define SGMLIsPlainText(w)     XtIsSubclass(w,sGMLPlainTextObjectClass)
  43.  
  44. #endif SGMLPLAINTEXT_H
  45.  
  46.